/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hydms.dormitory.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hydms.dormitory.entity.DmsDormitory;
import com.thinkgem.jeesite.modules.hydms.dormitory.dao.DmsDormitoryDao;

/**
 * 宿舍信息Service
 * @author 冉鑫
 * @version 2017-04-05
 */
@Service
@Transactional(readOnly = true)
public class DmsDormitoryService extends CrudService<DmsDormitoryDao, DmsDormitory> {

	public DmsDormitory get(String id) {
		return super.get(id);
	}
	
	public List<DmsDormitory> findList(DmsDormitory dmsDormitory) {
		return super.findList(dmsDormitory);
	}
	
	public Page<DmsDormitory> findPage(Page<DmsDormitory> page, DmsDormitory dmsDormitory) {
		return super.findPage(page, dmsDormitory);
	}
	
	@Transactional(readOnly = false)
	public void save(DmsDormitory dmsDormitory) {
		super.save(dmsDormitory);
	}
	
	@Transactional(readOnly = false)
	public void delete(DmsDormitory dmsDormitory) {
		super.delete(dmsDormitory);
	}

	public Page<DmsDormitory> findPages(Page<DmsDormitory> page, DmsDormitory dmsDormitory) {
		// TODO Auto-generated method stub
		return super.findPages(page, dmsDormitory);
	}
	
}